package com.night.icm.model.core;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * UserDTO
 *
 * @author Liao ZhiYong
 * @date 2019/12/10
 */
@ApiModel(description = "用户信息")
@Data
public class UserDTO {

    @ApiModelProperty(position = 110, value = "用户id，自增")
    private String id;

    @ApiModelProperty(position = 120, value = "用户名", required = true)
    private String username;

    @ApiModelProperty(position = 130, value = "密码", required = true)
    private String password;

    @ApiModelProperty(position = 140, value = "角色权限", required = true)
    private String role;
}